package
{
	import flash.display.*;
	import flash.events.*;
	import game.GlobalConfig;
	import game.Entry;
	import game.util.CarJsCall;
	import flash.external.ExternalInterface;
	[SWF(width="1000",height="700",frameRate="60",backgroundColor="#537CD8")]
	public class shequ_Jump extends Sprite
	{
		public function shequ_Jump()
		{
			if (stage)onStage();
			else addEventListener(Event.ADDED_TO_STAGE,onStage);
		}
		protected function onStage(event:Event=null):void
		{
			removeEventListener(Event.ADDED_TO_STAGE,onStage);
			//stage.scaleMode=StageScaleMode.EXACT_FIT;
			//trace(stage.scaleMode);
		
			//if(false){
			if (ExternalInterface.available){
				if (this.loaderInfo.parameters.uid != null){
					GlobalConfig.uid = this.loaderInfo.parameters["uid"];
					GlobalConfig.userMeck = this.loaderInfo.parameters["mcheck"];
					//GlobalConfig.version = this.loaderInfo.parameters["version"];
					GlobalConfig.version=675445645663;
					if(this.loaderInfo.parameters["webIp"]!=null)GlobalConfig.webIp=this.loaderInfo.parameters["webIp"];
					//if(GlobalConfig.uid=='75446394')GlobalConfig.uid ='987030';
				};		
			}else{
				if (GlobalConfig.isDebugMode){
					GlobalConfig.uid ='987030';
					GlobalConfig.userMeck="0000000000000001e7cf0e1d6c7fe0499ac1d0deca9af4f6b0f8d8dd7f35c3e7265611020d13400ad3f33f235ee7a7883812b396dd0832f52520ae54cc191ed5b23f6c9c99ea924e5679fccb415cfc37321ee88aab2abc76|0000000000000001e7cf0e1d6c7fe049fc24725fed76fb2e3578fc9f341c6e8b2cff90c5a484301534ec409c4b33c31a31467c109f9aa712020ba9d6a7306e1de4963aa3cd63b1cf4a629b623b3cb1a9|00000000000000016fe58c9c72736c71a637115b70fc367a7669f4ae8f0b0ca126b53ce9ca7d5a50";
				};
			};
			new Entry().start(this);
			
		}
	}
}


//https://lanhuapp.com/web/#/item/project/detailDetach?pid=2e928d67-0108-4d17-8ffd-bf5b7bd0063b&project_id=2e928d67-0108-4d17-8ffd-bf5b7bd0063b&image_id=a11650db-fdd4-4fbb-948d-9b77f8687d34&fromEditor=true


